package com.foryou.wechat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.foryou.wechat.entity.PlaceCollectEntity;
import com.foryou.wechat.entity.ProductionCollectEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by Lee.
 */
@Mapper
@Repository
public interface ProductionCollectMapper extends BaseMapper<ProductionCollectEntity> {
    ProductionCollectEntity queryUserIsCollect(@Param("productionId") Long productionId, @Param("userId") Long userId);
    int deleteProductionClock(@Param("productionId") Long productionId, @Param("userId") Long userId);
}
